import { customTable } from '@/components/ProTable/interface';
/**
 * @name 明细汇总
 */
export function useSumDataGrid() {
  let sumData = reactive<customTable>({
    data: [],
    // 表格配置项
    columns: [
      {
        prop: 'key',
        label: '物料名称'
      },
      {
        prop: 'value',
        label: '净重'
      }
    ],
    headButtonList: [],
    rowButtonList: []
  });

  return { sumData };
}
